Responsive Parallel Computation

نویسندگان

  • Stefan Muller
  • Umut A. Acar
  • Robert Harper
چکیده

As parallel (multicore) hardware proliferates, there is growing interest in developing languages and techniques for writing and reasoning about parallel programs. One important direction is to abstract away from the details of how parallelism is implemented by using implicitly parallel programming languages and reasoning about performance using abstract cost models based on the metrics of work and span, which can then be mapped to actual performance by taking advantage of classic results in the field, such as Brent’s Theorem. While very effective for compute-bound applications, the integration of these methods with effects such as input-output has not been well understood, even though many applications (e.g., games and servers) increasingly involve such interaction. In this paper, we propose responsive parallel computing to bring together performant implicit parallelism with responsive interaction. We first present a parallel language that provides separate mechanisms for interaction and parallelism, and for prioritization of computations. The language separates foreground (high priority) and background (low priority) computations using a type system based on linear temporal logic and comes with both an operational semantics and a cost model. The cost model is based on a refinement of the work-span model that introduces the notions of foreground work and span. As our key result, we prove a “Brent-type” theorem that establishes a bound on the responsiveness as well as the completion time of a computation. We present a small implementation and several examples that give some evidence of the practical implications of our results.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Parallel computation framework for optimizing trailer routes in bulk transportation

We consider a rich tanker trailer routing problem with stochastic transit times for chemicals and liquid bulk orders. A typical route of the tanker trailer comprises of sourcing a cleaned and prepped trailer from a pre-wash location, pickup and delivery of chemical orders, cleaning the tanker trailer at a post-wash location after order delivery and prepping for the next order. Unlike traditiona...

متن کامل

Efficient implementation of low time complexity and pipelined bit-parallel polynomial basis multiplier over binary finite fields

This paper presents two efficient implementations of fast and pipelined bit-parallel polynomial basis multipliers over GF (2m) by irreducible pentanomials and trinomials. The architecture of the first multiplier is based on a parallel and independent computation of powers of the polynomial variable. In the second structure only even powers of the polynomial variable are used. The par...

متن کامل

Thesis Proposal Responsive Parallel Computation

Multicore processors are becoming increasingly prevalent, blurring the lines between traditional parallel programs, which use cooperative threading to reduce execution time, and interactive programs which use competitive threading to increase responsiveness. To assist programmers in developing this new class of responsive parallel programs which use threads for both of these purposes, I propose...

متن کامل

Optimization of Agricultural BMPs Using a Parallel Computing Based Multi-Objective Optimization Algorithm

Beneficial Management Practices (BMPs) are important measures for reducing agricultural non-point source (NPS) pollution. However, selection of BMPs for placement in a watershed requires optimizing available resources to maximize possible water quality benefits. Due to its iterative nature, the optimization typically takes a long time to achieve the BMP trade-off results which is not desirable ...

متن کامل

An Efficient Algorithm for Workspace Generation of Delta Robot

Dimensional synthesis of a parallel robot may be the initial stage of its design process, which is usually carried out based on a required workspace. Since optimization of the links lengths of the robot for the workspace is usually done, the workspace computation process must be run numerous times. Hence, importance of the efficiency of the algorithm and the CPU time of the workspace computatio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016